import { defineStore } from "pinia";
import { ref } from "vue";
export const useCommitStore = defineStore("commit", () => {
  const commitList = ref([]);
  const placeholder = ref("请输入评论");

  const level = ref(0);

  const parentId = ref("");

  const index = ref(0);

  //   const index=ref(0)
  return { commitList, placeholder, level, parentId, index };
});
